<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>个人博客</title>
	<link rel="stylesheet" href="__PUBLIC__/Application/Css/common.css" />
	<link rel="stylesheet" href="__PUBLIC__/Application/Css/list.css" />
	<script type="text/JavaScript" src='__PUBLIC__/Application/Js/jquery-1.7.2.min.js'></script>
	<script type="text/JavaScript" src='__PUBLIC__/Application/Js/common.js'></script>
</head>
<body>
<!--头部-->
	<div class='top-search-wrap'>
		<div class='top-search'>
				<img src="__PUBLIC__/Application/Images/log.jpg"/>
			<div class='search-wrap'>
				<form action="<{:U('Home/Index/serach',array('name'=>name))}>" method='POST'>
					<input type="text" name='name' class='search-content'/>					
					<input type="submit" name='search' value='搜索'/>
				</form>
			</div>
		</div>
	</div>

	<div class='top-nav-wrap'>
		<ul class='nav-lv1'>
			<li class='nav-lv1-li'>
				<a href="<{:U('Home/Index/index')}>" class='top-cate'>博客首页</a>
			</li>
			<foreach name="step" item="v">
			<li class='nav-lv1-li'>
				<a href="<{:U('Home/List/index',array('btid'=>$v['id']))}>" class='top-cate'><{$v.name}></a>
					<ul>
						<foreach name="v.child" item="value">
						<li><a href="<{:U('Home/List/index',array('btid'=>$value['id']))}>"><{$value.name}></a></li>
						</foreach>
					</ul>
			</li>
			</foreach>
		</ul>
	</div>
<!--主体-->
	<div class='main'>
		<div class='main-left'>
			<foreach name="list" item="v">
			<dl>				
				<dt><{$v.step}></dt>				
				<dd class='channel'><{$v.title}></dd>
				<dd class='info'>
					<span class='time'>发布于：<{$v.time|date="Y:m:d H:i",###}></span>					
				</dd>
				<dd class='content'><{$v.abstract}></dd>
				<dd class='read'>
					<a href="<{:U('Home/Show/index',array('id'=>$v['id']))}>">阅读全文>></a>
				</dd>				
			</dl>
			</foreach>		
			<div align="center"><{$page}></div>
		</div>
	<!--主体右侧-->
		<div class='main-right'>
			<dl>
				<dt>推荐博文</dt>
				<foreach name="recommend" item="v" >
					<foreach name="v.attr" item="value">
						<if condition="$value['id'] eq 2">
							<dd>
								<a href="<{:U('Home/Show/index',array('id'=>$v['id']))}>"><{$v.title}></a> [<font color="<{$value.color}>"><{$value.name}></font>]
							</dd>
						</if>
					</foreach>		
				</foreach>
			</dl>

			<dl>
				<dt>最新发布</dt>
				<foreach name="new" item="v">
					<dd>
						<a href="<{:U('Home/Show/index',array('id'=>$v['id']))}>"><{$v.title}></a>							
						<span style="float:right;"><{$v.time|date="Y:m:d H:i",###}></span>				
					</dd>
				</foreach>
			</dl>			
			<dl>
				<dt>友情链接</dt>				
					<dd>
						<a href="http://www.baidu.com/">百度一下</a>			
					</dd>
					<dd>
						<a href="http://www.sohu.com/">搜狐</a>			
					</dd>				
			</dl>			
		</div>
	</div>
</body>
</html>